﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Kaiser.Models.JsonModels
{
    public class JsonTreeList : List<JsonTreeList>
    {
        string id { get; set; }
        string name { get; set; }
        List<JsonTreeList> children { get; set; }
    }

    public class JsonTreeList<T> : List<T>
    {
        public JsonTreeList()
        {
            children = new List<T>();
        }
        public string id { get; set; }
        public string name { get; set; }
        public List<T> children { get; set; }
    }
}
